package data;

/**
 * 敌方坦克数据类
 */
public class EnemyData extends TankData {
    // -------------------- 数据设计 --------------------
    private int aiState = 0;        // AI状态
    private long moveTimer = 0;     // 移动计时器
    private long shootTimer = 0;    // 射击计时器
    // -------------------- 数据设计 --------------------

    public EnemyData(int x, int y, int direction) {
        super(1, x, y, direction); // 1表示敌方坦克
    }

    public int getAiState() { return aiState; }
    public void setAiState(int aiState) { this.aiState = aiState; }
    public long getMoveTimer() { return moveTimer; }
    public void setMoveTimer(long moveTimer) { this.moveTimer = moveTimer; }
    public long getShootTimer() { return shootTimer; }
    public void setShootTimer(long shootTimer) { this.shootTimer = shootTimer; }
}